//
//  WNUserInfo.h
//  Whatnet_iOS
//
//  Created by 北辰 on 2019/5/10.
//  Copyright © 2019 什么网络. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WNModel.h"

typedef NS_ENUM(NSInteger, WNBlackRelationType) {
    WNBlackNomal = 0,//双方未拉黑
    WNBlackMe,//在我的黑名单
    WNBlackOpp,//我在对方黑名单
    WNBlackBoth//双方都拉黑了彼此
};

NS_ASSUME_NONNULL_BEGIN

@interface WNUserInfo : WNModel <WNModelCoding>

@property (nonatomic, assign)   NSInteger  userid;// 11,
@property (nonatomic, strong)   NSString*   phone;// “17680717815”,
@property (nonatomic, strong)   NSString*   headimage;// null,
@property (nonatomic, strong)   NSString*   nickname;// “神龙见首不见尾”,
@property (nonatomic, strong)   NSString*   name;// “往事如烟”,
@property (nonatomic, strong)   NSString*   viplevel;// null,会员等级
@property (nonatomic, strong)   NSString*   activitylevel;// null,活跃度
@property (nonatomic, strong)   NSString*   candynumber;// null,糖果数
@property (nonatomic, strong)   NSString*   password;// “e10adc3949ba59abbe56e057f20f883e”,
@property (nonatomic, strong)   NSString*   paypassword;// “e10adc3949ba59abbe56e057f20f883e”,
@property (nonatomic, strong)   NSString*   bankname;// “建设银行”,
@property (nonatomic, strong)   NSString*   cardnum;// “965741266”,银行卡号
@property (nonatomic, strong)   NSString*   extend3;// null,
@property (nonatomic, strong)   NSString*   cardid;//“8564126987”身份证id
@property (nonatomic, strong)   NSString*   suserid;//邀请人
@property (nonatomic, strong)   NSString*   totalcandynumber;//糖果数
@property (nonatomic, strong)   NSString*   appno;//设备号

/**
 设置社交相关信息
 @param dict 字典
 */
- (void)setSocialData:(NSDictionary *)dict;

- (void)setDataWithDict:(NSDictionary *)dict;

+ (WNBlackRelationType)BlackTypeWithString:(NSString *)black;
@end


NS_ASSUME_NONNULL_END
